<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
<%
int dis=90;
for(int i=1;i<=9;i++){
	for(int k=1;k<=dis;k++)%>&nbsp;<% ;
	for(int j=1;j<=i;j++){
		out.println(i+"*"+j+"="+i*j);
		if(i*j>=10){
			%>&nbsp;<%%>&nbsp;<%%>&nbsp;<%%>&nbsp;<%%>&nbsp;<%
		}else{
			%>&nbsp;<%%>&nbsp;<%%>&nbsp;<%%>&nbsp;<%
		}	
	}	
	if(i!=1&&i<=4){
		dis=dis-10;
	}else{
		dis=dis-9;
	}
	%><br><%
	%><br><%
}
%>
</body>
</html>